{include 'common/header.html'}
<body>

<!-- header -->
<header>
<ul>
<li><a href="/" style="z-index: 50;">首页</a></li>
<li><a style="z-index: 49;cursor: pointer;">{$section['name']}</a></li>
</ul>
</header>

<!-- body --> 
<div id="main">


<div id="subtitle">最新话题</div>
<div id="box">
<ul id="topic">
{F:viewTopic($section['id'],$start,10)}
</ul>
{if($pages>1)}
<!--引入分页模板-->
{include 'common/switchpages.html'}
{/if}
</div>
<hr style="margin: 0; padding: 0;display: block;width: 100%;" />
<div id="subtitle">发表话题</div>
{if($login_user)}
{include 'forum/postanewtopic.html'}
{else}
<p style="color: #EE7700;text-align: center;">您未登录，无权发帖。请<a href="{$this->urlCreate('user','login')}">登录</a>/<a href="{$this->urlCreate('user','register')}">注册</a></p>
{/if}
</div>

<!-- footer -->
{include 'common/footer.html'}
</body>
</html>